package com.example.designsoft.mvptest;

import androidx.appcompat.app.AppCompatActivity;

import android.nfc.Tag;
import android.os.Bundle;
import android.util.Log;

import com.example.designsoft.MyApplication;
import com.example.designsoft.R;
import com.example.designsoft.base.BaseMvpActivity;

public class MvpTestActivity extends BaseMvpActivity<MvpTestPresenter, MvpTestModel> implements MvpTestContract.View {

    @Override
    public void initData() {
        mPresenter.setResult("第一次进行");
    }

    @Override
    public int getLayoutResId() {
        return R.layout.activity_mvp_test;
    }

    @Override
    public void setData(String s) {
        Log.e(MyApplication.TAG, s);
    }

    @Override
    public void showLoading() {

    }

    @Override
    public void showError() {

    }
}
